@extends('auth.assets.master')

@section('page-title', '注册页面')

@section('page-content')
            <!-- BEGIN REGISTER FORM -->
            <form class="form-horizontal login-form" action="{{ url('/backend/auth/register') }}" method="post">
                <h3 class="form-title">Sign Up</h3>
                <p>Enter your account details below:</p>
                <div class="alert alert-error hide">
                    <button class="close" data-dismiss="alert"></button>
                    <span>Enter any username and password.</span>
                </div>
                <div class="form-group">
                    <label for="name" class="control-label sr-only">Username</label>
                    <div class="control-input">
                        <span class="glyphicon glyphicon-user"></span>
                        <input type="text" class="form-control form-input input-icon" name="name" id="name" placeholder="Username"/>
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="control-label sr-only">Password</label>
                    <div class="control-input">
                        <span class="glyphicon glyphicon-lock"></span>
                        <input type="password" class="form-control form-input input-icon" name="password" id="password" placeholder="Password"/>
                    </div>
                </div>
                <div class="form-group">
                    <label for="password_confirmation" class="control-label sr-only">Re-type Your Password</label>
                    <div class="control-input">
                        <span class="glyphicon glyphicon-ok"></span>
                        <input type="password" class="form-control form-input input-icon" name="password_confirmation" id="password_confirmation" placeholder="Re-type Your Password"/>
                    </div>
                </div>
                <div class="form-group">
                    <label for="email" class="control-label sr-only">Email</label>
                    <div class="control-input">
                        <span class="glyphicon glyphicon-envelope"></span>
                        <input type="text" class="form-control form-input input-icon" name="email" id="email" placeholder="Email"/>
                    </div>
                </div>
                {{ csrf_field() }}
                <div class="form-actions border-bottom-none">
                    <label class="checkbox">
                        <div class="checker">
                            <span>
                                <input type="checkbox" name="remember" value="1">
                            </span>
                        </div>
                        I agree to the <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>
                    </label>
                    <div class="btn-actions">
                        <a id="register-back-btn" type="button" class="btn" href="{{ URL::previous() }}">
                            <span class="glyphicon glyphicon-circle-arrow-left"></span>  Back
                        </a>
                        <button type="submit" id="register-submit-btn" class="btn green pull-right">
                            Sign Up <span class="glyphicon glyphicon-circle-arrow-right"></span>
                        </button>
                    </div>
                </div>
            </form>
            <!-- END REGISTRATION FORM -->
@endsection